import mcpi.minecraft as minecraft
import mcpi.block as block
mc = minecraft.Minecraft.create()

x, y, z = mc.entity.getTilePos(2053)
mc.setBlocks(x-4,y-1,z-4,x+4,y-1,z+4,block.GRASS)
mc.setBlocks(x-4,y,z-4,x-4,y,z+4,block.FENCE,1)
mc.setBlocks(x-4,y,z-4,x+4,y,z-4,block.FENCE,1)
mc.setBlocks(x+4,y,z-4,x+4,y,z+4,block.FENCE,1)
mc.setBlocks(x-4,y,z+4,x+4,y,z+4,block.FENCE,1)
mc.setBlock(x,y,z+4,block.FENCE_GATE,1)
mc.setBlock(x,y-1,z,block.WOOD,1)
